import { MailOutlined } from "@ant-design/icons";
// TODO:后续需要考虑如何使得这个配置文件整理成公共的配置地方

// 开始做成工程化的东西
export default [
  /* 最外层 */
  {
    icon: <MailOutlined />,
    label: {
      path: "basic",
      title: "React Basic",
    },
    children: [
      {
        label: {
          path: "1-1",
          title: "useReducer-基础用法",
        },
      },
      {
        label: {
          path: "1-2",
          title: "useMemo-基础用法",
        },
      },
      {
        label: {
          path: "1-3",
          title: "React.memo",
        },
      },
      {
        label: {
          path: "1-4",
          title: "useCallback函数的使用",
        },
      },
      {
        label: {
          path: "1-5",
          title: "forwardRef/useInperativeHandlle - 使用场景",
        },
      },
      {
        label: {
          path: "1-6",
          title: "什么是纯函数？",
        },
      },
    ],
  },
];
